# 6: TRACE
# 5: VERBOSE
# 4: DEBUG
# 3: INFO
# 2: WARN
# 1: ERROR

include_dirs :=
include_dirs += -I$(CURDIR)/..
include_dirs += -I/usr/include
include_dirs += -I/usr/local/include

library_dirs :=
library_dirs += -L/usr/lib
library_dirs += -L/usr/local/lib

dependencies :=
dependencies += -lcrypto
dependencies += -lssl
dependencies += -lpthread
dependencies += -ljlib

sources :=
sources += main.cu
sources += cuda.cpp


.PHONY : a.out

a.out : $(sources)
	nvcc -std=c++14 -DLOG_LEVEL=6 -o $@ $^ $(include_dirs) $(library_dirs) $(dependencies)


